﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Atomic.Permission.Entities;
using FluentNHibernate.Mapping;

namespace Atomic.Permission.Mappings
{
    public class RoleFormFunMap : ClassMap<RoleFormFunEntity>
    {
        public RoleFormFunMap()
        {
            Table("RoleFormFun");
            Id(e => e.ID).GeneratedBy.Native();
            Map(e => e.FormID);
            Map(e => e.FunID);
            Map(e => e.RoleID);
        }
    }
}
